package com.rxyl.love.petdoctor.entity;

import com.google.gson.Gson;
import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * Created by zuchang on 2016/1/21.
 */
public class TopicEntity {

    private Object navigator;
    private List<Items> items;

    public static TopicEntity objectFromData(String str) {

        return new Gson().fromJson(str, TopicEntity.class);
    }

    public void setNavigator(Object navigator) {
        this.navigator = navigator;
    }

    public void setItems(List<Items> items) {
        this.items = items;
    }

    public Object getNavigator() {
        return navigator;
    }

    public List<Items> getItems() {
        return items;
    }

    public static class Items {
        private String description;
        private int fan_count;
        private String icon_url;
        private boolean is_focused;
        private String custom;
        private String create_time;


        private IconUrls icon_urls;
        private int feed_count;
        private String id;
        private String name;


        private List<ImageUrls> image_urls;

        public static Items objectFromData(String str) {

            return new Gson().fromJson(str, Items.class);
        }

        public void setDescription(String description) {
            this.description = description;
        }

        public void setFan_count(int fan_count) {
            this.fan_count = fan_count;
        }

        public void setIcon_url(String icon_url) {
            this.icon_url = icon_url;
        }

        public void setIs_focused(boolean is_focused) {
            this.is_focused = is_focused;
        }

        public void setCustom(String custom) {
            this.custom = custom;
        }

        public void setCreate_time(String create_time) {
            this.create_time = create_time;
        }

        public void setIcon_urls(IconUrls icon_urls) {
            this.icon_urls = icon_urls;
        }

        public void setFeed_count(int feed_count) {
            this.feed_count = feed_count;
        }

        public void setId(String id) {
            this.id = id;
        }

        public void setName(String name) {
            this.name = name;
        }

        public void setImage_urls(List<ImageUrls> image_urls) {
            this.image_urls = image_urls;
        }

        public String getDescription() {
            return description;
        }

        public int getFan_count() {
            return fan_count;
        }

        public String getIcon_url() {
            return icon_url;
        }

        public boolean isIs_focused() {
            return is_focused;
        }

        public String getCustom() {
            return custom;
        }

        public String getCreate_time() {
            return create_time;
        }

        public IconUrls getIcon_urls() {
            return icon_urls;
        }

        public int getFeed_count() {
            return feed_count;
        }

        public String getId() {
            return id;
        }

        public String getName() {
            return name;
        }

        public List<ImageUrls> getImage_urls() {
            return image_urls;
        }

        public static class IconUrls {
            @SerializedName("80")
            private String I80;
            @SerializedName("160")
            private String I160;
            private String origin;

            public static IconUrls objectFromData(String str) {

                return new Gson().fromJson(str, IconUrls.class);
            }

            public void setI80(String I80) {
                this.I80 = I80;
            }

            public void setI160(String I160) {
                this.I160 = I160;
            }

            public void setOrigin(String origin) {
                this.origin = origin;
            }

            public String getI80() {
                return I80;
            }

            public String getI160() {
                return I160;
            }

            public String getOrigin() {
                return origin;
            }
        }

        public static class ImageUrls {
            @SerializedName("60")
            private String I60;
            @SerializedName("360")
            private String I360;
            @SerializedName("750")
            private String I750;
            @SerializedName("900")
            private String I900;
            private String origin;

            public static ImageUrls objectFromData(String str) {

                return new Gson().fromJson(str, ImageUrls.class);
            }

            public void setI60(String I60) {
                this.I60 = I60;
            }

            public void setI360(String I360) {
                this.I360 = I360;
            }

            public void setI750(String I750) {
                this.I750 = I750;
            }

            public void setI900(String I900) {
                this.I900 = I900;
            }

            public void setOrigin(String origin) {
                this.origin = origin;
            }

            public String getI60() {
                return I60;
            }

            public String getI360() {
                return I360;
            }

            public String getI750() {
                return I750;
            }

            public String getI900() {
                return I900;
            }

            public String getOrigin() {
                return origin;
            }
        }
    }
}
